//
//  VisitorLoginViewController.swift
//  Weibo
//
//  Created by mac on 15/11/26.
//  Copyright © 2015年 zsl. All rights reserved.
//

import UIKit

@objc protocol VisitorLoginViewDelegate:NSObjectProtocol{
   optional func userWillLogin ()
    func userWillRegister()
}

class VisitorLoginView: UIView {
  //在swift 中所有的属性默认都是strong 因此用weak进行修饰代理属性
  weak var visitorLoginViewDelegate:VisitorLoginViewDelegate?
    
    override init(frame: CGRect){
        super.init(frame: frame)
        
        setUpUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setUpUI(){
        
        
    }

    /**
    *  懒加载视图控件
    */
   // private lazy var backView: UIImageView = (image:UIImaged(named:""))


}
